package net.wanho.util;

import net.wanho.bean.SpringBean;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Author：汤小洋
 * Date：2024-12-12 9:37
 * Description：<描述>
 */
public class MyUtil {


    public static void print() {
        System.out.println("MyUtil.print................");

        // SpringBean springBean = (SpringBean) ApplicationContextHolder.getBean("springBean");
        SpringBean springBean = ApplicationContextHolder.getBean(SpringBean.class);
        springBean.show();
    }

}
